package com.ruoyi.web.controller.mxerp;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.system.domain.MxWareIn;
import com.ruoyi.system.mapper.MxSupplierMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/mxerp/index")
public class MxIndexController extends BaseController {

    @Autowired
    private MxSupplierMapper mxSupplierMapper;

    @PostMapping("index")
    public AjaxResult index() {
        return success(mxSupplierMapper.getIndexData());
    }
}
